package com.pro.pojo;

/**
 * ClassName:JsRoleAuthority
 * Package:com.pro.pojo
 * Description:
 *
 * @Date:2021/11/28 18:21
 * @Author: XJR
 */
public class JsRoleAuthority {
    private Integer id; //主键id
    private Integer userId;//用户id
    private Integer authorityId;//权重id
    private Integer type;//权重类型，2可访问，3不可访问
    private String remarks;//字段备注
    private Integer createId;//创建人
    private String createDate;//创建时间
    private Integer updateId;//更新人
    private String updateDate;//更新时间

    public JsRoleAuthority() {
        super();
    }

    public JsRoleAuthority(Integer id, Integer userId, Integer authorityId, Integer type, String remarks, Integer createId, String createDate, Integer updateId, String updateDate) {
        this.id = id;
        this.userId = userId;
        this.authorityId = authorityId;
        this.type = type;
        this.remarks = remarks;
        this.createId = createId;
        this.createDate = createDate;
        this.updateId = updateId;
        this.updateDate = updateDate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getAuthorityId() {
        return authorityId;
    }

    public void setAuthorityId(Integer authorityId) {
        this.authorityId = authorityId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getCreateId() {
        return createId;
    }

    public void setCreateId(Integer createId) {
        this.createId = createId;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public Integer getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Integer updateId) {
        this.updateId = updateId;
    }

    public String getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(String updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    public String toString() {
        return "JsRoleAuthority{" +
                "id=" + id +
                ", userId=" + userId +
                ", authorityId=" + authorityId +
                ", type=" + type +
                ", remarks='" + remarks + '\'' +
                ", createId=" + createId +
                ", createDate='" + createDate + '\'' +
                ", updateId=" + updateId +
                ", updateDate='" + updateDate + '\'' +
                '}';
    }
}
